/*
 * @Author: LMN
 * @Title: 路由配置主文件
 * @LastEditors: LMN
 * @Description: file content
 * @Date: 2019-03-14 11:18:24
 * @LastEditTime: 2019-03-14 14:00:04
 */
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: resolve => require(['@/views/Home.vue'], resolve)
    },
    {
      path: '/about',
      name: 'about',
      component: resolve => require(['@/views/About.vue'], resolve)
    }
  ]
})
